class Airport
  
  def initialize(code, city, country)
    @code = code
    @city = city
    @country = country
  end
  
  def code
    return @code
  end
  
  def city
    return @city
  end
  
  def country
    return  @coutnry
  end  

  def equal?(airport)
    return @code === airport.code
  end
  
  def to_s
    n = 20 - @city.length
    return @code + " " + @city + (" " * n) + @country
  end
  
end
